<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<button onclick="addMoney()">点我变富</button>
<script>
    function addMoney(){
        let img=document.createElement('img')
        img.src='img/1.png';
        img.width=200;
        let body = document.querySelector('body');
        body.append(img)
    }
</script>

</body>
</html>